package org.jeecg.modules.demo.st.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.st.entity.StProfession;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.st.vo.DepartListVo;
import org.jeecg.modules.demo.st.vo.GradeListsVo;
import org.jeecg.modules.demo.st.vo.NationPersonsVo;
import org.jeecg.modules.demo.st.vo.ProfessionListVo;
import org.jeecg.modules.system.entity.SysDepart;

/**
 * @Description: 专业
 * @Author: jeecg-boot
 * @Date:   2019-10-26
 * @Version: V1.0
 */
public interface StProfessionMapper extends BaseMapper<StProfession> {

    /**
     * 专业
     * 获取专业接口
     * getStProfession
     */
    public  List<ProfessionListVo>  getStProfession (String id);

    /**
     * 学院
     * 通过学校id获取学院列表
     * getLists
     */
    public  List<DepartListVo> getLists (@Param("departIds") String departIds);

    /**
     * 年级列表
     * 通过年级字典编号grade获取年级列表 在校和非在校人数
     * getGradeLists
     */
    public  List<GradeListsVo> getGradeLists (@Param("departIds") String departIds);

    List<NationPersonsVo> getGradeListsSt(@Param("departIds") String departIds, @Param("professionIds") String professionIds, @Param("classIds") String classIds, @Param("fieldTwo") String fieldTwo);


    List<Map<String,Object>> getStatusAll(@Param("departIds")  String departIds);

    List<Map<String,Object>> getStatusAllByDepart(@Param("departIds")String departIds);
    List<Map<String,Object>> getStatusAllByProfession(@Param("professionIds")String professionIds);
    List<Map<String,Object>> getStatusAllByClass(@Param("classIds")String classIds);
    List<Map<String,Object>> getListsGrade(@Param("fieldTwos")String fieldTwos,@Param("departIds")String departIds);
}
